Skip to content

Conversation

@mnencia
Copy link
Member

@mnencia mnencia commented Nov 26, 2025

When the shell used for sh is dash, which is common on Debian and its derivatives, the output of the Makefile is incorrect. This patch resolves the issue by using bash as the shell when it's available.

Additionally, I refactored the push target to reuse the code that executes the push command for a specific directory.

Lastly, the default action when you run make without any arguments is now to build all the extensions.

When the shell used for `sh` is `dash`, which is common on Debian and
its derivatives, the output of the Makefile is incorrect. This patch
resolves the issue by using `bash` as the shell when it's available.

Additionally, I refactored the `push` target to reuse the code that
executes the push command for a specific directory.

Lastly, the default action when you run `make` without any arguments
is now to build all the extensions.

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
@mnencia mnencia requested review from a team and NiccoloFei as code owners November 26, 2025 12:52
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
@mnencia mnencia merged commit dacb3f5 into main Nov 26, 2025
4 checks passed
@mnencia mnencia deleted the dev/mnencia-review branch November 26, 2025 13:25
@mnencia mnencia changed the title chore: improve Makefile for minimal POSIX shell compatibility chore: improve Makefile Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants